package cz.muni.fi.pa165.dundd.service;

import cz.muni.fi.pa165.dundd.dto.HeroDTO;
import cz.muni.fi.pa165.dundd.dto.HeroRoleDTO;
import cz.muni.fi.pa165.dundd.dto.TroopDTO;
import java.util.List;

/**
 *
 * @author xszanto1 <ardos@mail.muni.cz>
 */
public interface HeroService {

    public void createHero(HeroDTO hero);

    public HeroDTO retrieveHero(Long id);

    public List<HeroDTO> retrieveAllHeroes();

    public void updateHero(HeroDTO hero);

    public void deleteHero(HeroDTO hero);

    public List<HeroRoleDTO> retrieveRolesOfHero(HeroDTO hero);
    
  /*  public void addHeroToTroop(HeroDTO hero, TroopDTO troop);

    public void removeHerofromTroop(HeroDTO hero);*/

    public void addRoleToHero(HeroDTO hero, HeroRoleDTO role);
    
    public void deleteRoleOfHero(HeroDTO hero, HeroRoleDTO role);

}
